import {request} from '../request'

//多条件查询采买方
export function getBuyerByKey(search){
  return request({
    url:'/api/admin/getBuyerByKey',
    method:'post',
    data:search
  })
}

//采买方重置密码
export function resetBuyerPassword(id){
  return request({
    url:'/api/admin/resetBuyerPassword',
    method:'get',
    params:{
      id
    }
  })
}
